package com.dhu.auth.domain.convert;

import com.dhu.auth.domain.entity.AuthPermissionDO;
import com.dhu.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限bo转换器
 * 
 * @author: ChickenWing
 * @date: 2023/10/8
 */
@Mapper
public interface AuthPermissionDOConverter {

    AuthPermissionDOConverter INSTANCE = Mappers.getMapper(AuthPermissionDOConverter.class);

    AuthPermission convertDOToEntity(AuthPermissionDO authPermissionDO);

}
